package ace.module.account.core.impl.manager;

import ace.module.account.api.model.config.IamAccountBaseConfig;
import ace.module.account.api.model.config.IamApplicationCaptchaSmsAppConfig;
import ace.module.account.api.model.dto.IamApplicationConfigDto;
import ace.module.account.core.impl.dao.entity.IamApplicationConfig;
import ace.module.common.core.impl.manager.EntityOfAppManager;

/**
 * @author caspar
 * @date 2023/3/20 9:28
 */
public interface IamApplicationConfigManager
    extends EntityOfAppManager<IamApplicationConfig, Long, IamApplicationConfigDto> {

  IamAccountBaseConfig getBaseConfig(Long iamAppId);

  IamApplicationCaptchaSmsAppConfig getCaptchaSmsConfig(Long iamAppId);

  IamApplicationConfig.IamApplicationConfigBuilder createBuilder(Object config);

}
